package cn.edu.ujn.food.entity;

import org.springframework.stereotype.Component;

import java.io.Serializable;
@Component
public class Review implements Serializable {
    private static final long serialVersionUID = 126767772330377426L;

    private Integer reviewId;

    private Integer userId;

    private Integer restId;

    @Override
    public String toString() {
        return "Review{" +
                "reviewId=" + reviewId +
                ", userId=" + userId +
                ", restId=" + restId +
                ", reviewContext='" + reviewContext + '\'' +
                ", reviewDate='" + reviewDate + '\'' +
                ", reviewScore=" + reviewScore +
                ", start=" + start +
                ", rows=" + rows +
                '}';
    }

    private String reviewContext;

    private String reviewDate;

    private Integer reviewScore;
    private Integer start;
    private Integer rows;

    public Integer getStart() {
        return start;
    }

    public void setStart(Integer start) {
        this.start = start;
    }

    public Integer getRows() {
        return rows;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getReviewId() {
        return reviewId;
    }

    public void setReviewId(Integer reviewId) {
        this.reviewId = reviewId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getRestId() {
        return restId;
    }

    public void setRestId(Integer restId) {
        this.restId = restId;
    }

    public String getReviewContext() {
        return reviewContext;
    }

    public void setReviewContext(String reviewContext) {
        this.reviewContext = reviewContext;
    }

    public String getReviewDate() {
        return reviewDate;
    }

    public void setReviewDate(String reviewDate) {
        this.reviewDate = reviewDate;
    }

    public Integer getReviewScore() {
        return reviewScore;
    }

    public void setReviewScore(Integer reviewScore) {
        this.reviewScore = reviewScore;
    }

}

